/*ackage com.springcloud.serviceconsumer.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.client.RestTemplate;

@Service
public class HiService {
    @Autowired
    RestTemplate restTemplate;
    @RequestMapping("/hi")
    public String ThiService(String name){
        return restTemplate.getForObject("http://localhost:8762/hi/name?name="+name,String.class);
    }
}
*/